#pragma once
#include "../zhelpers.h"
#include <map>
#include <string>
#include "server.h"
#include "thread.h"
#include "data.h"

using std::string;
using std::vector;

class front_server : public server
{
	server *_gf_server;
	server *_lf_server;
	server *_tv_server;

	public:
	front_server(){_gf_server = NULL; _lf_server = NULL; _tv_server = NULL;}

	void add_gf_server(server *s){_gf_server = s;}
	void add_lf_server(server *s){_lf_server = s;}
	void add_tv_server(server *s){_tv_server = s;}

	server *get_one_gf_server(){return _gf_server;}
	server *get_one_lf_server(){return _lf_server;}
	server *get_one_tv_server(){return _tv_server;}

	int start();
};



